package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * (TlCar)实体类
 *
 * @author makejava
 * @since 2023-11-04 09:20:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TlCar {
    @TableId(type = IdType.AUTO)
    private Integer carId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date carStarttime;
    
    private String carStartaddr;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date carEndtime;
    
    private String carEndaddr;
    
    private String carName;
    
    private Integer carFirst;
    
    private Integer carSec;
    
    private Integer carNo;
    
    private Integer carInfo;
    
    private BigDecimal carPrice;

    @TableField(exist = false)
    private String first ="有票";

    @TableField(exist = false)
    private String second ="有票";

    @TableField(exist = false)
    private String no ="有票";

}
